package manage.service;

import m.common.service.Service;
import m.system.db.DBManager;
import m.system.util.DateUtil;

import java.sql.SQLException;
import java.util.Date;

public class ActionLogService extends Service {

    public void doDelete30Before() throws SQLException {
        DBManager.executeUpdate("delete from os_action_log where create_date<?", DateUtil.getAddDate(new Date(),-30));
    }
}
